Optimal. Leaf size=87 \[ \frac{b \text{PolyLog}\left (2,-\frac{f h-e i}{i (e+f x)}\right )}{d (f h-e i)}-\frac{\log \left (\frac{f h-e i}{i (e+f x)}+1\right ) (a+b \log (c (e+f x)))}{d (f h-e i)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.234306, antiderivative size = 116, normalized size of antiderivative = 1.33, number of steps used = 6, number of rules used = 6, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {2411, 12, 2344, 2301, 2317, 2391} \[ -\frac{b \text{PolyLog}\left (2,-\frac{i (e+f x)}{f h-e i}\right )}{d (f h-e i)}+\frac{(a+b \log (c (e+f x)))^2}{2 b d (f h-e i)}-\frac{\log \left (\frac{f (h+i x)}{f h-e i}\right ) (a+b \log (c (e+f x)))}{d (f h-e i)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2411
Rule 12
Rule 2344
Rule 2301
Rule 2317
Rule 2391
Rubi steps
\begin{align*} \int \frac{a+b \log (c (e+f x))}{(h+180 x) (d e+d f x)} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{a+b \log (c x)}{d x \left (\frac{-180 e+f h}{f}+\frac{180 x}{f}\right )} \, dx,x,e+f x\right )}{f}\\ &=\frac{\operatorname{Subst}\left (\int \frac{a+b \log (c x)}{x \left (\frac{-180 e+f h}{f}+\frac{180 x}{f}\right )} \, dx,x,e+f x\right )}{d f}\\ &=-\frac{\operatorname{Subst}\left (\int \frac{a+b \log (c x)}{x} \, dx,x,e+f x\right )}{d (180 e-f h)}+\frac{180 \operatorname{Subst}\left (\int \frac{a+b \log (c x)}{\frac{-180 e+f h}{f}+\frac{180 x}{f}} \, dx,x,e+f x\right )}{d f (180 e-f h)}\\ &=\frac{\log \left (-\frac{f (h+180 x)}{180 e-f h}\right ) (a+b \log (c (e+f x)))}{d (180 e-f h)}-\frac{(a+b \log (c (e+f x)))^2}{2 b d (180 e-f h)}-\frac{b \operatorname{Subst}\left (\int \frac{\log \left (1+\frac{180 x}{-180 e+f h}\right )}{x} \, dx,x,e+f x\right )}{d (180 e-f h)}\\ &=\frac{\log \left (-\frac{f (h+180 x)}{180 e-f h}\right ) (a+b \log (c (e+f x)))}{d (180 e-f h)}-\frac{(a+b \log (c (e+f x)))^2}{2 b d (180 e-f h)}+\frac{b \text{Li}_2\left (\frac{180 (e+f x)}{180 e-f h}\right )}{d (180 e-f h)}\\ \end{align*}
Mathematica [A] time = 0.0646556, size = 91, normalized size = 1.05 \[ \frac{(a+b \log (c (e+f x))) \left (a+b \log (c (e+f x))-2 b \log \left (\frac{f (h+i x)}{f h-e i}\right )\right )-2 b^2 \text{PolyLog}\left (2,\frac{i (e+f x)}{e i-f h}\right )}{2 b d (f h-e i)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.489, size = 197, normalized size = 2.3 \begin{align*} -{\frac{a\ln \left ( cfx+ce \right ) }{d \left ( ei-fh \right ) }}+{\frac{a\ln \left ( -cei+hcf+ \left ( cfx+ce \right ) i \right ) }{d \left ( ei-fh \right ) }}-{\frac{b \left ( \ln \left ( cfx+ce \right ) \right ) ^{2}}{2\,d \left ( ei-fh \right ) }}+{\frac{b}{d \left ( ei-fh \right ) }{\it dilog} \left ({\frac{-cei+hcf+ \left ( cfx+ce \right ) i}{-cei+hcf}} \right ) }+{\frac{b\ln \left ( cfx+ce \right ) }{d \left ( ei-fh \right ) }\ln \left ({\frac{-cei+hcf+ \left ( cfx+ce \right ) i}{-cei+hcf}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} a{\left (\frac{\log \left (f x + e\right )}{d f h - d e i} - \frac{\log \left (i x + h\right )}{d f h - d e i}\right )} + b \int \frac{\log \left (f x + e\right ) + \log \left (c\right )}{d f i x^{2} + d e h +{\left (f h + e i\right )} d x}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \log \left (c f x + c e\right ) + a}{d f i x^{2} + d e h +{\left (d f h + d e i\right )} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \log \left ({\left (f x + e\right )} c\right ) + a}{{\left (d f x + d e\right )}{\left (i x + h\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]